//
//  MineViewModel.h
//  MoXiProject
//
//  Created by 周筱雯 on 2017/7/6.
//  Copyright © 2017年 周筱雯. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "UserInfoModel.h"

typedef enum {
    LoadData = 2,
    LoadMore
}LoadType;



@interface MineViewModel : NSObject


/**
 用户签到

 @return <#return value description#>
 */
-(RACSignal *) userSignRequestParameter;


/**
 绑定真实信息

 @param realName <#realName description#>
 @param cardId <#cardId description#>
 @return <#return value description#>
 */
-(RACSignal *) bandRealInfoRequestParameterName:(NSString *) realName card:(NSString *) cardId;

/**
 解除绑定

 @return <#return value description#>
 */
-(RACSignal *) cancelBandRealInfoRequestParameter;


/**
 个人积分明细接口

 @return <#return value description#>
 */
-(RACSignal *) showCoreDetailRequestParameter;
@property (nonatomic,strong) NSMutableArray * showCoreArrayList;
//用户总积分
@property (nonatomic,copy) NSString * userScore;

/**
 个人中心

 @return <#return value description#>
 */
-(RACSignal *) userinfoDetailRequestParameterUserID:(NSString *) userid;
@property (nonatomic,strong) UserInfoModel * userinfoModel;


/**
 购彩记录

 @param typeId <#typeId description#>
 @return <#return value description#>
 */
-(RACSignal *) findUserBuyInfoRequestParameter:(NSString *) typeId;
@property (nonatomic,strong) NSMutableArray * userbuyLotteryList;


/**
 上传头像

 @param file <#file description#>
 @return <#return value description#>
 */
-(RACSignal *) uploadImageRequestParameter:(NSString *) file;


/**
 修改签名

 @param userSign <#userSign description#>
 @return <#return value description#>
 */
-(RACSignal *) updateSignRequestParameter:(NSString *)userSign;


/**
 修改昵称

 @param userName <#userName description#>
 @return <#return value description#>
 */
-(RACSignal *) updateUserNameRequestParameter:(NSString *)userName;


/**
 修改密码

 @param userPwd <#userPwd description#>
 @return <#return value description#>
 */
-(RACSignal *) updateUserPwdRequestParameter:(NSString *)userPwd;

/**
 彩票收藏
 
 @return <#return value description#>
 */
-(RACSignal *) collectionInfoRequestParameter:(LoadType) loadtype;
@property (nonatomic,strong) NSMutableArray * collectionInfoArrayList;
@end
